package com.atguigu.lease.web.app.service;

import com.atguigu.lease.model.entity.BrowsingHistory;
import com.atguigu.lease.web.app.vo.history.HistoryItemVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author xiongkunYang
 * @description 针对表【browsing_history(浏览历史)】的数据库操作Service
 * @createDate 2025-04-19 22:27:34
 */
public interface BrowsingHistoryService extends IService<BrowsingHistory> {

    IPage<HistoryItemVo> historyItemPageByUsrId(long current, long size, Long userId);

    void saveHistory(Long userId, Long roomId);
}
